package com.bookmarket.entity;

/**
 * @author Chen Zhaoguang
 * @date 2017/12/26 10:56
 */

/**
 * 收货地址
 */
public class Address {
    private int id;
    private Custom custom;//用户外键
    private String address;//收货地址
    private String uname;//收货姓名
    private String phone;//收货电话

    public Address() {
    }

    public Address(int id, Custom custom, String address) {
        this.id = id;
        this.custom = custom;
        this.address = address;
    }

    public Address(int id, String address, String uname, String phone) {
        this.id = id;
        this.address = address;
        this.uname = uname;
        this.phone = phone;
    }

    public Address(int id, Custom custom, String address, String uname, String phone) {
        this.id = id;
        this.custom = custom;
        this.address = address;
        this.uname = uname;
        this.phone = phone;
    }

    public Address(Custom custom, String address, String uname, String phone) {
        this.custom = custom;
        this.address = address;
        this.uname = uname;
        this.phone = phone;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Custom getCustom() {
        return custom;
    }

    public void setCustom(Custom custom) {
        this.custom = custom;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
